package com.emip.dao;

import java.util.List;

import com.emip.bean.ItemBean;
import com.emip.bean.MonitorTypeBean;


public interface ItemDAO {
	public String add(ItemBean entity);
	public ItemBean findByID(String ID);
	public void remove(ItemBean entity);
	public void update(ItemBean entity);
	public List<ItemBean> getAll();
	
	public List<ItemBean> getItemsByMonitorType(MonitorTypeBean bean);
	
	//查重，是否已有指定ItemBean属性的记录
	public Boolean findExist(ItemBean entity);
	public ItemBean findByName(String name);
}
